package appapi.entity.AppAmg;

import appapi.entity.record.MonthdetailEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.Date;
import java.util.List;

@ApiModel(value = "月检名称")
@Data
public class MonthdetaImgDto {
    @ApiModelProperty(value = "")
    private Long monthRecId;

    @ApiModelProperty(value = "")
    private Long monthId;

    /**
     * 检测项目
     */
    @ApiModelProperty(value = "检测项目")
    private String monthItem;

    /**
     * 0正常 1异常
     */
    @ApiModelProperty(value = "0正常 1异常")
    private Integer monthResult;

    @ApiModelProperty(value = "")
    private String monthDesc;

    @ApiModelProperty(value = "")
    private Integer auditState;

    @ApiModelProperty(value = "")
    private String auditNote;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Date updateTime;

    @ApiModelProperty(value = "转换的图片",required = true)
    private List<String> img;
    public MonthdetailEntity vo2Entity() {
        MonthdetailEntity entity = new MonthdetailEntity();
        BeanUtils.copyProperties(this, entity);
        return entity;
    }
}
